<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><h4><?php echo $name;?></h4> <div> <ul class="text_list"> <?php if(is_array($data)) foreach($data AS $n => $r) { ?> <li><a href="<?php echo $r['url'];?>"><?php echo str_cut($r[title], 40);?></a> <?php echo $r['date'];?></li> <?php } ?> </ul> </div>